Fix build failure on g_autoptr(gchar) with glib master
authorAlexander Larsson <alexl@redhat.com>
Fri, 20 Mar 2015 14:36:56 +0000 (15:36 +0100)
committerAlexander Larsson <alexl@redhat.com>
Fri, 20 Mar 2015 14:36:56 +0000 (15:36 +0100)
This was removed in favour of g_autofree

src/ostree/ot-builtin-show.c

index 4eb52f365aa5927d43b4ce0e0d794e5f24ab505d..d45bd67787e261f9b337d7044417bc64ff8e6de7 100644 (file)
@@ -155,7 +155,7 @@ print_signature (OstreeGpgVerifyResult *result,
   g_autoptr(GVariant) variant = NULL;
   g_autoptr(GDateTime) date_time_utc = NULL;
   g_autoptr(GDateTime) date_time_local = NULL;
-  g_autoptr(gchar) formatted_date_time = NULL;
+  g_autofree char *formatted_date_time = NULL;
   gint64 timestamp;
   gint64 exp_timestamp;
   const char *fingerprint;